package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单据类型映射对象 BARCODE_DOCTYPE_MAPPING
 * 
 * @author ruoyi
 * @date 2025-03-27
 */
public class BarcodeDoctypeMapping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**   */
    private Long id;

    /**   */
    @Excel(name = " ")
    private Long headerId;

    /** 序号 */
    @Excel(name = "序号")
    private Long sequence;

    /** 源单类型编码 */
    @Excel(name = "源单类型编码")
    private String sourceTypeNumber;

    /** 源单类型名称 */
    @Excel(name = "源单类型名称")
    private String sourceTypeName;

    /** 目标类型编码 */
    @Excel(name = "目标类型编码")
    private String targetTypeNumber;

    /** 目标类型名称 */
    @Excel(name = "目标类型名称")
    private String targetTypeName;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifiedBy;

    /** 修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHeaderId(Long headerId) 
    {
        this.headerId = headerId;
    }

    public Long getHeaderId() 
    {
        return headerId;
    }

    public void setSequence(Long sequence) 
    {
        this.sequence = sequence;
    }

    public Long getSequence() 
    {
        return sequence;
    }

    public void setSourceTypeNumber(String sourceTypeNumber) 
    {
        this.sourceTypeNumber = sourceTypeNumber;
    }

    public String getSourceTypeNumber() 
    {
        return sourceTypeNumber;
    }

    public void setSourceTypeName(String sourceTypeName) 
    {
        this.sourceTypeName = sourceTypeName;
    }

    public String getSourceTypeName() 
    {
        return sourceTypeName;
    }

    public void setTargetTypeNumber(String targetTypeNumber) 
    {
        this.targetTypeNumber = targetTypeNumber;
    }

    public String getTargetTypeNumber() 
    {
        return targetTypeNumber;
    }

    public void setTargetTypeName(String targetTypeName) 
    {
        this.targetTypeName = targetTypeName;
    }

    public String getTargetTypeName() 
    {
        return targetTypeName;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }

    public void setModifiedBy(String modifiedBy) 
    {
        this.modifiedBy = modifiedBy;
    }

    public String getModifiedBy() 
    {
        return modifiedBy;
    }

    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headerId", getHeaderId())
            .append("sequence", getSequence())
            .append("sourceTypeNumber", getSourceTypeNumber())
            .append("sourceTypeName", getSourceTypeName())
            .append("targetTypeNumber", getTargetTypeNumber())
            .append("targetTypeName", getTargetTypeName())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("modifiedBy", getModifiedBy())
            .append("modifiedDate", getModifiedDate())
            .toString();
    }
}
